﻿/*  ----------------------------------------------------------------------------
 *  DES-Release 2
 *  ----------------------------------------------------------------------------
 *  File:       Program.cs
 *  Author:     nitinkoshy@gmail.com
 *  Source:     http://des.codeplex.com/
 *  ----------------------------------------------------------------------------
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DES.Server.Service;
using System.ServiceModel;
using System.Diagnostics;

namespace DES.Server.CommandLineHost
{
    class Program
    {
        static void Main(string[] args)
        {
            Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
            Trace.Listeners.Add(new TextWriterTraceListener("PlainDump.Txt"));

            ServiceHost serviceHost = new ServiceHost(typeof(DESServerService));
            serviceHost.Open();
            Console.ReadLine();
            serviceHost.Close();
        }
    }
}
